package net.betou.cms.dao.main.impl;

import net.betou.cms.dao.main.CmsUserResumeDao;
import net.betou.cms.entity.main.CmsUserResume;
import net.betou.common.hibernate3.HibernateBaseDao;

import org.springframework.stereotype.Repository;

@Repository
public class CmsUserResumeDaoImpl extends HibernateBaseDao< CmsUserResume, Integer > implements CmsUserResumeDao{
	public CmsUserResume findById( Integer id ) {
		CmsUserResume entity = get( id );
		return entity;
	}

	public CmsUserResume save( CmsUserResume bean ) {
		getSession( ).save( bean );
		return bean;
	}

	@Override
	protected Class< CmsUserResume > getEntityClass( ) {
		return CmsUserResume.class;
	}
}